<?php
namespace App\Services\Shipping;
use App\Model\Shipping as S;
class Shipping{
    public function get(){
        $data =  S::get()->toArray();
        foreach($data as &$v){
            $v['time'] = date('Y-m-d H:i:s',$v['time']);
        }
        return $data;
    }
}